package com.xiaoge.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xiaoge.entity.EduCourse;
import com.xiaoge.vo.EduCourseVO;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @Author: 冷俊杰
* @Description: 学院信息
* @DateTime: 2022/10/28 10:29
**/
public interface EduCourseMapper extends BaseMapper<EduCourse> {
    /**
     * 分页查询所有
     * @param page
     * @param courseName
     * @return
     */
    List<EduCourse> getEduCourseList(@Param("page") Page<EduCourse> page, @Param("courseName") String courseName);


    int addEduCourse(EduCourseVO eduCourse);
}